From: Olaf Hering Date: Wed, 7 Sep 2011 09:37:48 +0000 (+0100) Subject: p2m-ept: remove map_domain_page check X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~9914 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=55a63ea7130365b12c1cc5bca4ff883de6a55385;p=xen.git p2m-ept: remove map_domain_page check map_domain_page() can not fail, remove ASSERT in ept_set_entry(). Signed-off-by: Olaf Hering --- diff --git a/xen/arch/x86/mm/p2m-ept.c b/xen/arch/x86/mm/p2m-ept.c index f4a6d11666..701f33d87a 100644 --- a/xen/arch/x86/mm/p2m-ept.c +++ b/xen/arch/x86/mm/p2m-ept.c @@ -332,8 +332,6 @@ ept_set_entry(struct p2m_domain *p2m, unsigned long gfn, mfn_t mfn, table = map_domain_page(ept_get_asr(d)); - ASSERT(table != NULL); - for ( i = ept_get_wl(d); i > target; i-- ) { ret = ept_next_level(p2m, 0, &table, &gfn_remainder, i);